extends Node2D


# Declare member variables here. Examples:
# var a = 2
# var b = "text"


# Called when the node enters the scene tree for the first time.
func _ready():
	setWindows()
	pass # Replace with function body.


# Called every frame. 'delta' is the elapsed time since the previous frame.
#func _process(delta):
#	pass


func _on_windows_button_down():
	setWindows()
	pass # Replace with function body.


func _on_full_button_down():
	setFullScreen()
	pass # Replace with function body.


func setWindows():
	get_node("windows/light").visible = true
	get_node("full/light").visible = false
	OS.set_window_fullscreen(false)
	pass
	
func setFullScreen():
	get_node("windows/light").visible = false
	get_node("full/light").visible = true
	OS.set_window_fullscreen(true)
	pass
